package com.linghang.wusthelper.service;

import com.linghang.wusthelper.common.ServerResponse;

/**
 * @author origin
 * 教务处Service
 */
public interface JwcService {

    ServerResponse login(String stuNum,String passwrod);

    ServerResponse getGrade(String token) throws InterruptedException;

    ServerResponse getCredit(String token) throws InterruptedException;

    ServerResponse getCurriculum(String token,String schoolTerm) throws InterruptedException;

    ServerResponse getStudentInfo(String token);

    ServerResponse updateStudentInfo(String token) throws InterruptedException;

    ServerResponse getAnnouncementList(int pageNum,int pageSize);

    ServerResponse getAnnouncementContent(int announcementId);

    ServerResponse getShareCurriculum(String content);
}
